package com.yungu.swift.system.sys.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.model.PageVo;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.system.sys.model.dto.SysBusinessOperateLogDto;
import com.yungu.swift.system.sys.model.param.AdminBusinessOperateLogParam;
import com.yungu.swift.system.sys.model.vo.SysBusinessOperateLogVo;
import com.yungu.swift.system.sys.model.vo.SysOperationCodeVo;

import java.util.List;

/**
 * @Description: 业务操作记录表
 */
public interface SysBusinessOperateLogService extends BaseService<SysBusinessOperateLogDto> {

    /**
     * 查询操作记录
     * @param param
     * @return
     */
    ResponseData<PageVo<SysBusinessOperateLogVo>> queryPage(AdminBusinessOperateLogParam param);

    /**
     * 查询操作编码
     * @return
     */
    ResponseData<List<SysOperationCodeVo>> getOperationCode();

    /**
     * 批量新增
     * @return
     */
    ResponseData<Boolean> addBatch(List<SysBusinessOperateLogDto> list);
}